﻿<%--AF670E5B959051C79335BB118C987AB2131793115441994623--%>
<%@ Page Language="C#" Inherits="XinYeSoft.VIP.WebSite.MyFqZcs" %><%@ Import Namespace="XinYeSoft.WebCommonLibrary" %><%
 DirRelVirPath = "~/Templates/Cont/";
this.SubmitFillUsers(); %>
<script runat="server">
protected override void OnLoad(System.EventArgs e)
{
this.DirRelVirPath = "~/Templates/Cont/";
base.OnLoad(e);
}
</script><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<meta name="keywords" content="<%=this.MetaKey%>" />
<meta name="description" content="<%=this.MetaDesc%>" />
<%=this.HeadHtml%>
<title><%=this.PageTitle%></title>
<link rel="shortcut icon" href="<%=this.Root%>/favicon.ico" />
<link rel="stylesheet" href="<%=this.Root%>/Assets/Styles/style.css">

<%
 if (this.PreferredDomain != "") { %>
<link rel="canonical" href="<%=this.PreferredDomain%>" />
<%
 } %>
    <link rel="stylesheet" type="text/css" href="<%=this.Root%>/Assets/Styles/mydetail.css"/>
	<script src="<%=this.Root%>/Assets/Scripts/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
    
</head>

<body>
    
    <div class="index-header-box"></div>
	<div class="index-header">
		<div class="index-header-item active">
			<p>进行中</p>
		</div>
		<div class="index-header-item">
			<p>成功</p>
		</div>
	</div>

    <div class="index-con">
		<div class="index-con-list">			            
		<%
 if (this.ListStart.Count <= 0) { %>
            <p class="no">暂无相关的项目数据</p>
        <%
 } else { %>
            <%
if(this.ListStart != null)
{%><%
int i_1=0;
%><%
foreach(XinYeSoft.VIP.WebSite.MyFqZcs.DataObj obj_1 in this.ListStart){%>
            <div class="index-con-item index-con-item03">
				<a href="<%=this.GetFQZCViewUrl(obj_1.ID)%>">
					<div class="con clearfix">
						<img src="<%=obj_1.ImagePath%>"/>
						<p><%=obj_1.Name%></p>
					</div>
					<div class="release clearfix">
						<p class="p1">完成进度<span></span></p>
						<p class="p2">已有<span><%=obj_1.SupportNum%></span>人支持</p>
					</div>
					<div class="info-process">
						<div class="info-process-whole">
							<div class="info-process-completed"></div>
						</div>
					</div>
					<div class="info-list clearfix">
						<div class="info-item">
							<p class="info-item-num"><span class="whole-number block"><%=this.ToText(obj_1.NeedSum)%></span>元</p>
							<p class="info-item-title"><i class="info-item-icon icon-detail-icon01"></i>目标</p>
						</div>
						<div class="info-item info-item-border">
							<p class="info-item-num"><span class="completed-number block"><%=this.ToText(obj_1.CurSum)%></span>元</p>
							<p class="info-item-title"><i class="info-item-icon icon-detail-icon01"></i>已筹</p>
						</div>
						<div class="info-item">
							<p class="info-item-num"><span class="block"><%=obj_1.HasDays%></span>天</p>
							<p class="info-item-title"><i class="info-item-icon icon-detail-icon02"></i>剩余</p>
						</div>
					</div>
				</a>
			</div>
			<%
i_1+=1;
}
}%>
			<div class="toEnd">
					<p>到底了~</p>
				</div>
		<%
 } %>	
		</div>
		<div class="index-con-list">
		<%
 if (this.ListEnd.Count <= 0) { %>
            <p class="no">暂无相关的项目数据</p>
        <%
 } else { %>
            <%
if(this.ListEnd != null)
{%><%
int i_1=0;
%><%
foreach(XinYeSoft.VIP.WebSite.MyFqZcs.DataObj obj_1 in this.ListEnd){%>
            <div class="index-con-item index-con-item03">
				<a href="<%=this.GetFQZCViewUrl(obj_1.ID)%>">
					<div class="con clearfix">
						<img src="<%=obj_1.ImagePath%>"/>
						<p class="p1"><%=obj_1.Name%></p>
						<p class="p2"><i class="icon-1"></i><%=this.ToText(obj_1.StartBMDate)%></p>
					</div>
					<div class="release clearfix">
						<p class="p1">完成进度<span></span></p>
						<p class="p2">已有<span><%=obj_1.SupportNum%></span>人支持</p>
					</div>
					<div class="info-process">
						<div class="info-process-whole">
							<div class="info-process-completed"></div>
						</div>
					</div>
					<div class="info-list clearfix">
						<div class="info-item">
							<p class="info-item-num"><span class="whole-number block"><%=this.ToText(obj_1.NeedSum)%></span>元</p>
							<p class="info-item-title"><i class="icon-3"></i>目标</p>
						</div>
						<div class="info-item info-item-border">
							<p class="info-item-num"><span class="completed-number block"><%=this.ToText(obj_1.CurSum)%></span>元</p>
							<p class="info-item-title"><i class="icon-8"></i>已筹</p>
						</div>
						<div class="info-item">
							<p class="info-item-num"><span class="block"><%=obj_1.HasDays%></span>天</p>
							<p class="info-item-title"><i class="icon-2"></i>剩余</p>
						</div>
					</div>
				</a>
			</div>
			<%
i_1+=1;
}
}%>
			<div class="toEnd">
					<p>到底了~</p>
				</div>
		<%
 } %>	
		</div>
	</div>
	<script type="text/javascript">
		$(function () {
		    $('.index-con-item03').each(function () {
		        var x = $(this).find('.whole-number').text();
		        var y = $(this).find('.completed-number').text();
		        var a = parseInt((y / x) * 100);
		        if(a>100){
		        	a = 100;
		        }
		        var b = $(this).find('.info-process-completed');
		        var z = $(this).find('.release .p1 span');
		        z.text(a + '%');
		        b.width(a + '%');
		    });
		})
	</script>

    <div class="index-nav-box"></div>
<div class="index-nav-fixed clearfix">
	<a <%
 if (this.CurRootManuName == "首页") { %>class="active"<%
 } %> href="<%=this.SiteIndexUrl%>">
		<i class="icon-5"></i>
		<p>首页</p>
	</a>
	<a <%
 if (this.CurRootManuName == "myprojects") { %>class="active"<%
 } %> href="<%=this.MyProjectsUrl%>">
		<i class="icon-6"></i>
		<p>我发起的</p>
	</a>
	<a <%
 if (this.CurRootManuName == "myfqzcs") { %>class="active"<%
 } %> href="<%=this.MyFqZcsUrl%>">
		<i class="icon-8"></i>
		<p>我众筹的</p>
	</a>
	<a <%
 if (this.CurRootManuName == "myzczcs") { %>class="active"<%
 } %> href="<%=this.MyZcZcsUrl%>">
		<i class="icon-7"></i>
		<p>我支持的</p>
	</a>
</div>

    <script type="text/javascript">
        $(function () {
            $('.index-header-item').each(function () {
                $(this).click(function () {
                    var i = $(this).index();
                    $(this).addClass('active').siblings().removeClass('active');
                    $('.index-con-list').eq(i).show().siblings().hide();
                })
            })
        })
	</script>

</body>
</html>